package com.example.back.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("instore")
public class InStore {
    @TableId(value = "in_id", type = IdType.INPUT)
//    @TableField("in_id")
    private String inId;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @TableField("in_date")
    private Date inDate;

    @TableField("car_id")
    private String carId;

    @TableField("in_count")
    private Integer inCount;

    @TableField("in_ton")
    private double inTon;

    @TableField("in_storeid")
    private String inStoreId;

    @TableField("real_ton")
    private double realTon;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @TableField("create_time")
    private Date createTime;

    @TableField("create_name")
    private String createName;


    @TableLogic
    @TableField("deleted")
    private Integer deleted;
}
